package com.hospital.diagnose.entity;

public class Patient {
    private Integer id;

    private String patName;

    private Integer patSex;

    private Integer patAge;

    private String patConven;

    private String patNation;

    private String patContactInfo;

    private String patDiseaseHistory;

    private String patRemark;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPatName() {
        return patName;
    }

    public void setPatName(String patName) {
        this.patName = patName == null ? null : patName.trim();
    }

    public Integer getPatSex() {
        return patSex;
    }

    public void setPatSex(Integer patSex) {
        this.patSex = patSex;
    }

    public Integer getPatAge() {
        return patAge;
    }

    public void setPatAge(Integer patAge) {
        this.patAge = patAge;
    }

    public String getPatConven() {
        return patConven;
    }

    public void setPatConven(String patConven) {
        this.patConven = patConven == null ? null : patConven.trim();
    }

    public String getPatNation() {
        return patNation;
    }

    public void setPatNation(String patNation) {
        this.patNation = patNation == null ? null : patNation.trim();
    }

    public String getPatContactInfo() {
        return patContactInfo;
    }

    public void setPatContactInfo(String patContactInfo) {
        this.patContactInfo = patContactInfo == null ? null : patContactInfo.trim();
    }

    public String getPatDiseaseHistory() {
        return patDiseaseHistory;
    }

    public void setPatDiseaseHistory(String patDiseaseHistory) {
        this.patDiseaseHistory = patDiseaseHistory == null ? null : patDiseaseHistory.trim();
    }

    public String getPatRemark() {
        return patRemark;
    }

    public void setPatRemark(String patRemark) {
        this.patRemark = patRemark == null ? null : patRemark.trim();
    }


    @Override
    public String toString() {
        return "Patient{" +
                "id=" + id +
                ", patName='" + patName + '\'' +
                ", patSex=" + patSex +
                ", patAge=" + patAge +
                ", patConven='" + patConven + '\'' +
                ", patNation='" + patNation + '\'' +
                ", patContactInfo='" + patContactInfo + '\'' +
                ", patDiseaseHistory='" + patDiseaseHistory + '\'' +
                ", patRemark='" + patRemark + '\'' +
                '}';
    }

}